package com.hsp.extend_.improve_;

import com.hsp.extend_.Graduate;
import com.hsp.extend_.Pupil;

public class Extends01 {
    public static void main(String[] args) {
        Pupil pupil = new Pupil();
        pupil.name="银角大王~";
        pupil.age=11;
        pupil.testing();
        pupil.setScore(50);
        pupil.showinfo();


        System.out.println("=============");
        com.hsp.extend_.Graduate graduate = new Graduate();
        graduate.name = "金角大王~";
        graduate.age =23;
        graduate.testing();
        graduate.setScore(80);
        graduate.showinfo();
    }
}
